package com.jbm.jbmsupplier.util;

import java.io.Serializable;

/**
 * Created by root on 16-3-6.
 */
public class ILogin extends ICtrl implements Serializable
{
	public ILogin ()
	{
		back = false;
		method = "";
		errorinfo = "";
	}

	public ILogin ( String name, String pass )
	{
		this.method = "login";
		this.name = name;
		this.password = pass;
		this.oldpass = "";
	}

	public ILogin ( String name, String pass, String oldpass )
	{
		this.method = "changepass";
		this.name = name;
		this.password = pass;
		this.oldpass = oldpass;
	}
	private static final long serialVersionUID = 400001L;


	public String name;
	public String password;

	public String oldpass;
}
